﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020002BD RID: 701
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ChessRogueTalentInfo : IMessage<ChessRogueTalentInfo>, IMessage, IEquatable<ChessRogueTalentInfo>, IDeepCloneable<ChessRogueTalentInfo>, IBufferMessage
	{
		// Token: 0x17000928 RID: 2344
		// (get) Token: 0x06001F7D RID: 8061 RVA: 0x00059DFF File Offset: 0x00057FFF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ChessRogueTalentInfo> Parser
		{
			get
			{
				return ChessRogueTalentInfo._parser;
			}
		}

		// Token: 0x17000929 RID: 2345
		// (get) Token: 0x06001F7E RID: 8062 RVA: 0x00059E06 File Offset: 0x00058006
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ChessRogueTalentInfoReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700092A RID: 2346
		// (get) Token: 0x06001F7F RID: 8063 RVA: 0x00059E18 File Offset: 0x00058018
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ChessRogueTalentInfo.Descriptor;
			}
		}

		// Token: 0x06001F80 RID: 8064 RVA: 0x00059E1F File Offset: 0x0005801F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueTalentInfo()
		{
		}

		// Token: 0x06001F81 RID: 8065 RVA: 0x00059E28 File Offset: 0x00058028
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueTalentInfo(ChessRogueTalentInfo other) : this()
		{
			this.rogueTalentInfoList_ = ((other.rogueTalentInfoList_ != null) ? other.rogueTalentInfoList_.Clone() : null);
			this.oPDOFKEDNIG_ = other.oPDOFKEDNIG_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06001F82 RID: 8066 RVA: 0x00059E74 File Offset: 0x00058074
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueTalentInfo Clone()
		{
			return new ChessRogueTalentInfo(this);
		}

		// Token: 0x1700092B RID: 2347
		// (get) Token: 0x06001F83 RID: 8067 RVA: 0x00059E7C File Offset: 0x0005807C
		// (set) Token: 0x06001F84 RID: 8068 RVA: 0x00059E84 File Offset: 0x00058084
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTalentInfoList RogueTalentInfoList
		{
			get
			{
				return this.rogueTalentInfoList_;
			}
			set
			{
				this.rogueTalentInfoList_ = value;
			}
		}

		// Token: 0x1700092C RID: 2348
		// (get) Token: 0x06001F85 RID: 8069 RVA: 0x00059E8D File Offset: 0x0005808D
		// (set) Token: 0x06001F86 RID: 8070 RVA: 0x00059E95 File Offset: 0x00058095
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint OPDOFKEDNIG
		{
			get
			{
				return this.oPDOFKEDNIG_;
			}
			set
			{
				this.oPDOFKEDNIG_ = value;
			}
		}

		// Token: 0x06001F87 RID: 8071 RVA: 0x00059E9E File Offset: 0x0005809E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ChessRogueTalentInfo);
		}

		// Token: 0x06001F88 RID: 8072 RVA: 0x00059EAC File Offset: 0x000580AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ChessRogueTalentInfo other)
		{
			return other != null && (other == this || (object.Equals(this.RogueTalentInfoList, other.RogueTalentInfoList) && this.OPDOFKEDNIG == other.OPDOFKEDNIG && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06001F89 RID: 8073 RVA: 0x00059EFC File Offset: 0x000580FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.rogueTalentInfoList_ != null)
			{
				num ^= this.RogueTalentInfoList.GetHashCode();
			}
			if (this.OPDOFKEDNIG != 0U)
			{
				num ^= this.OPDOFKEDNIG.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06001F8A RID: 8074 RVA: 0x00059F51 File Offset: 0x00058151
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06001F8B RID: 8075 RVA: 0x00059F59 File Offset: 0x00058159
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06001F8C RID: 8076 RVA: 0x00059F64 File Offset: 0x00058164
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.rogueTalentInfoList_ != null)
			{
				output.WriteRawTag(10);
				output.WriteMessage(this.RogueTalentInfoList);
			}
			if (this.OPDOFKEDNIG != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.OPDOFKEDNIG);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06001F8D RID: 8077 RVA: 0x00059FC0 File Offset: 0x000581C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.rogueTalentInfoList_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueTalentInfoList);
			}
			if (this.OPDOFKEDNIG != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.OPDOFKEDNIG);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06001F8E RID: 8078 RVA: 0x0005A018 File Offset: 0x00058218
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ChessRogueTalentInfo other)
		{
			if (other == null)
			{
				return;
			}
			if (other.rogueTalentInfoList_ != null)
			{
				if (this.rogueTalentInfoList_ == null)
				{
					this.RogueTalentInfoList = new RogueTalentInfoList();
				}
				this.RogueTalentInfoList.MergeFrom(other.RogueTalentInfoList);
			}
			if (other.OPDOFKEDNIG != 0U)
			{
				this.OPDOFKEDNIG = other.OPDOFKEDNIG;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06001F8F RID: 8079 RVA: 0x0005A080 File Offset: 0x00058280
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06001F90 RID: 8080 RVA: 0x0005A08C File Offset: 0x0005828C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 10U)
				{
					if (num != 24U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.OPDOFKEDNIG = input.ReadUInt32();
					}
				}
				else
				{
					if (this.rogueTalentInfoList_ == null)
					{
						this.RogueTalentInfoList = new RogueTalentInfoList();
					}
					input.ReadMessage(this.RogueTalentInfoList);
				}
			}
		}

		// Token: 0x04000CFE RID: 3326
		private static readonly MessageParser<ChessRogueTalentInfo> _parser = new MessageParser<ChessRogueTalentInfo>(() => new ChessRogueTalentInfo());

		// Token: 0x04000CFF RID: 3327
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000D00 RID: 3328
		public const int RogueTalentInfoListFieldNumber = 1;

		// Token: 0x04000D01 RID: 3329
		private RogueTalentInfoList rogueTalentInfoList_;

		// Token: 0x04000D02 RID: 3330
		public const int OPDOFKEDNIGFieldNumber = 3;

		// Token: 0x04000D03 RID: 3331
		private uint oPDOFKEDNIG_;
	}
}
